home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr22 / gnplt.zip / 0INSTALL < prev    next >
Text File  |  1993-09-15  |  10KB  |  248 lines

  1. The GNUPLOT source code and executables may be copied and/or modified
  2. freely as long as the copyright messages are left intact.
  3.  
  4. See the History file for changes to GNUPLOT.
  5.  
  6. Compilation instructions are near the end of this file.
  7.  
  8. GNUPLOT has been tested on Sun3's and Sun4's (SunOS 4.0.3 and 4.1.1),
  9. a VAX 6410 (VMS 5.2), Commodore Amiga's (KS/WB 1.3 and 2.0, SAS/C 6.2
  10. and Aztec C beta 5.2a), IBM PC XT's and AT's (MS-DOS 3.3/5.0 BC++
  11. 3.1/TC++ 1.0 MSC 7.0), IRIS 4D/70G and 4D/25G with MIPS C, NeXT with
  12. gnu C 1.34, DECStation 5000/200PXG (ULTRIX V4.1), AT&T 3B1 (version
  13. 3.51m with cc and gcc 1.39), and Apollo's (DomainOS SR10.3 BSD4.3
  14. with C compiler 68K Rev 6.7(316)).  The code is written with
  15. portability in mind.  GNUPLOT has not been tested on Pyramid 90x.
  16.  
  17. There is a mailing list for gnuplot users. Note, however, that the
  18. newsgroup 
  19.     comp.graphics.gnuplot 
  20. is identical to the mailing list (they
  21. both carry the same set of messages). We prefer that you read the
  22. messages through that newsgroup, to subscribing to the mailing list.
  23. (If you can read that newsgroup, and are already on the mailing list,
  24. please send a message info-gnuplot-request@dartmouth.edu, asking to be
  25. removed from the mailing list.)
  26.  
  27. The address for mailing to list members is
  28.        info-gnuplot@dartmouth.edu
  29. and for mailing administrative requests is 
  30.        info-gnuplot-request@dartmouth.edu
  31. The mailing list for bug reports is 
  32.        bug-gnuplot@dartmouth.edu
  33. The list of those interested in beta-test versions is
  34.        info-gnuplot-beta@dartmouth.edu
  35.  
  36. [Please tell us the version and machine on which your bug occurred.]
  37.  
  38.  
  39.  
  40.                        PREPROCESSOR #DEFINES
  41.  
  42. These #defines should be checked before compilation (see the makefiles):
  43. define      file            note
  44. ------      ----            --------
  45. NOVFORK     Makefile        define if you don't have the vfork() system call
  46. GAMMA       Makefile        define if you've got gamma(3)
  47. MEMCPY      Makefile        define if your bcopy() is called memcpy()
  48. MEMSET      Makefile        define if you have memset() but not bzero()
  49. NOCOPY      Makefile        define if you've don't have a memcpy() by any name
  50. bcopy()     plot.h          define if you've got a memcpy() by some OTHER name
  51.                               (see example in plot.h)
  52. PC          Makefile        define if compiling on a PClone
  53. MSDOS       Makefile        define if compiling under MSDOS;
  54.                               automatically defined by Microsoft C 5.10
  55. HELPFILE    Makefile        name including path of gnuplot.gih file.
  56. VERYLARGE   plot.h          define to be largest coordinate number.
  57. SHELL       plot.h          default shell to spawn if SHELL environment
  58.                               variable not found at run-time
  59. NOCWDRC     Makefile        define to inhibit check of ./.gnuplot
  60. READLINE    Makefile        define if you want command-line editing
  61.  
  62. Valid TERMFLAGS defines.  These defines are used to include the
  63. various plotting terminals, printers, and protocols that a given version
  64. of gnuplot can access:
  65.  
  66. define      file            note
  67. ------      ----            --------
  68. TERMFLAGS   Makefile        the set of terminals you want, from below
  69.             or term.h
  70.  
  71.    AED         AED 512 and AED 767
  72.    AIFM        Adobe Illustrator Format
  73.    AMIGASCREEN Amiga custom screen
  74.    APOLLO      Apollo Graphics Primitive Resource (resizable window)
  75.    ATT6300     PC with AT&T 6300 graphics
  76.    BITGRAPH    BBN BitGraph
  77.    CGI         SCO CGI
  78.    COREL       COREL! Draw Format
  79.    CORONA      PC with Corona graphics 325
  80.    DXY800A     Roland DXY800A plotter
  81.    DUMB        Printer or glass dumb terminal
  82.    DXF         AutoCad (Release 10.x) dxf file format
  83.    EEPIC       EEPIC-extended LaTeX driver, for EEPIC users
  84.    EGALIB      PC with EGA/VGA graphics.
  85.    EMTEX       LaTeX picture environment with emTeX specials
  86.    EPS180      Epson-LQ style 24-pin 180-dot per inch printers
  87.    EPS60       Epson-style 60-dot per inch printers
  88.    EPSONP      Epson LX-800, Star NL-10, NX-1000 and lots of others
  89.    EXCL        Talaris EXCL laser printer format
  90.    FIG         Fig graphics language (requires object.h from TransFig)
  91.    GPR         Apollo Graphics Primitive Resource (fixed-size window)
  92.    HERCULES    IBM PC/Clone with Hercules graphics board
  93.    HP2648      HP2648, HP2647
  94.    HP26        HP2623A and maybe others
  95.    HP500C      HP Deskjet 500 C and maybe other Color Deskjets
  96.    HP75        HP7580, and probably other HPs
  97.    HPGL        HP7475 and (hopefully) lots of others
  98.    HPLJII      HP Laserjet II
  99.    HPPJ        HP PaintJet
  100.    IMAGEN      Imagen laser printers (300dpi) (requires -Iterm also)
  101.    IRIS4D      IRIS4D series computer
  102.    KERMIT      MS-DOS Kermit Tektronix 4010 emulator
  103.    LATEX       LaTeX picture environment
  104.    MF          Metafont Format
  105.    MIF         FrameMaker MIF 3.00 Format
  106.    NEC         NEC CP6 pinwriter printer
  107.    NEXT        NeXTStep Window System (only grey scale)
  108.    OS2PM       OS/2 Presentation Manager
  109.    PBM         PBMPLUS pbm, pgm, ppm formats
  110.    PCL         HP PCL5 (actually  HPGL/2)
  111.    POSTSCRIPT  PostScript
  112.    PRESCRIBE   Kyocera Laser printer
  113.    PSLATEX     Postscript graphics, LaTeX labels and titles
  114.    PSTRICKS    PSTRICKS 0.91 format
  115.    QMS         QMS/QUIC laserprinter (Talaris 1200 and others)
  116.    REGIS       ReGis graphics (vt125, vt220, vt240, Gigis...)
  117.    RGIP        Redwood Graphics Interface Protocol
  118.    SELANAR     Selanar
  119.    STARC       Star Color Printer
  120.    SUN         Sun Microsystems Workstation
  121.    T410X       Tektronix 4106, 4107, 4109 and 420x terminals
  122.    TANDY60     Tandy DMP-130 series 60-dot per inch graphics
  123.    TEK         Tektronix 4010, and probably others
  124.    TEXDRAW     TeXDraw format (for LaTeX)
  125.    TGIF        TGIF X11 Drawing Tool
  126.    TPIC        Tpic specials for TeX
  127.    UNIXPC      unixpc (ATT 3b1 or ATT 7300)
  128.    UNIXPLOT    unixplot
  129.    V384        Vectrix 384 and tandy color printer
  130.    VTTEK       VT like Tektronix 4010 emulator
  131.    X11         X11R4 window system
  132.  
  133.  
  134. These #defines are defined automatically by various compilers, some
  135. gnuplot routines check these defines to implement features found in the
  136. various environments:
  137.  
  138. define        note
  139. ------        --------
  140. AMIGA_AC_5    defined for Manx Aztec C 5.2a on the Amiga
  141. AMIGA_SC_6_1  defined for SAS/C 6.1 or later versions on the Amiga
  142. apollo        defined by Apollo's C compilers.
  143. _CRAY         defined by CRAY's C compiler.
  144. __TURBOC__    defined automatically by  Borland C++ 3.x
  145. unix          defined by most unix C compilers.
  146. vms           (and VMS) defined by VAX-11 C under VMS.
  147. __ZTC__       Zortech C compiler under MSDOS.
  148. _Windows      defined by Borland C++ 3.0 compiling for MS-Windows
  149.  
  150.  
  151.                              TO COMPILE
  152.  
  153. under UNIX:
  154. To compile do:
  155.   Copy makefile.unx to Makefile
  156.       cp makefile.unx Makefile
  157.   Look through the Makefile to see if you need to make any changes.
  158.   See especially the HELPDEST and TERMFLAGS variables.  Edit if needed.
  159.   Alternatively, all these variables may be set as command line arguments to
  160.   'make'. For example:
  161.  
  162.         make <MACHINE> HELPDEST='/usr/um/misc/lib/gnuplot.gih' \
  163.                 DEST='/usr/um/misc/bin' READLINE=
  164.  
  165.   Edit term.h, to include/exclude terminals
  166.   Type
  167.       make
  168.   For further instructions.
  169.   If that works, try
  170.       make install
  171.   For further instructions.
  172.  
  173. under VMS:
  174.   To compile:
  175.      copy makefile.vms makefile.
  176.      make
  177.   Or if you don't have a suitable make:
  178.      @buildvms
  179.   To tell gnuplot where to find the help library:
  180.       $ define gnuplot$help disk:[directory]gnuplot.hlb
  181.   Alternatively (and preferably) put the help in the main system help library.
  182.  
  183. under AmigaDOS:
  184. Using Aztec C 5.2a
  185.       make -f makefile.ami
  186. Using SAS/C 6.1 or later versions
  187.       smake -f makefile.amg
  188.  
  189. Using Microsoft C 7.0 and compiling for MS-Windows
  190.       copy makefile.msw makefile
  191.       nmake
  192.   Put wgnuplot.exe, wgnuplot.dll, wgnuplot.hlp and wgnuplot.mnu
  193.   in the windows directory.
  194.  
  195. under MSDOS:
  196. Using Microsoft C 7.0.
  197.       copy makefile.msc makefile
  198.       nmake 
  199.  
  200. Using Borland C++ 3.1 and compiling for MS-Windows
  201.       copy makefile.win makefile
  202.   Edit makefile to change TC.
  203.       make
  204.   Put wgnuplot.exe, wgnuplot.dll, wgnuplot.hlp and wgnuplot.mnu
  205.   in the windows directory.
  206.  
  207. Using Borland C++ 3.0
  208.       copy makefile.tc makefile
  209.   Edit makefile to change TC, BIN, BGI, BGIOBJ. You may also want to turn
  210.   off overlays (See manual for more on overlays).
  211.       make
  212.  
  213.  
  214. The file gnuplot.gih is needed for help on the PC.
  215. If the file gnuplot.gih is not in the default directory, then use:
  216.     set GNUHELP={full path name of gnuplot.gih}
  217.  
  218.  
  219.                          ENVIRONMENT VARIABLES
  220.  
  221. See 'help environment'.
  222.  
  223. If the environment variable GNUTERM is found, it is used as the terminal
  224. type. Otherwise, in some cases the variable TERM will be used, or the
  225. hardware may be automatically detected.
  226.  
  227. The PC version looks for the environment variable GNUPLOT to contain
  228. the name of the directory from which to load the initialization file
  229. GNUPLOT.INI.  See the help on 'start_up' for more information.
  230.  
  231. HOME is examined as a directory where a .gnuplot startup file might be
  232. found. See help on "start-up".
  233.  
  234. If defined, the environment variable GNUHELP is used for the name
  235. of the .gih help file, otherwise HELPFILE (defined in makefile or
  236. plot.c) is used.
  237.  
  238. The VMS version looks for the logical name GNUPLOT$HELP to locate
  239. the help library.
  240.  
  241. The CGI drivers need the CGIPATH environment variable to set the path
  242. to the CGI agents, and the CGIDISP and/or CGIPRNT environment
  243. variables to set the output devices.
  244.  
  245. The CGI drivers need the CGIPATH environment variable to set the path
  246. to the CGI agents, and the CGIDISP and/or CGIPRNT environment
  247. variables to set the output devices.
  248.